home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / pvm34b3.zip / pvm34b3 / pvm3 / hoster / Makefile.mak < prev    next >
Makefile  |  1997-07-22  |  1KB  |  50 lines

  1. #
  2. # $Id: Makefile.mak,v 1.1 1997/06/25 21:18:12 pvmsrc Exp $
  3. #
  4.  
  5. #*************************************************************#
  6. #**                                                         **#
  7. #**      Nmake file for the PVM hoster                      **#
  8. #**                   hoster.exe                            **#
  9. #**                                                         **#
  10. #**                                                         **#
  11. #*************************************************************#
  12.  
  13.  
  14. !IF "$(OS)" == "Windows_NT"
  15. NULL=
  16. !ELSE 
  17. NULL=nul
  18. !ENDIF 
  19. !include $(PVM_ROOT)\conf\$(PVM_ARCH).def
  20.  
  21. all:    paths hoster.exe
  22.  
  23. #
  24.  
  25. paths:
  26.     if not exist "../bin/$(PVM_ARCH)/$(NULL)" mkdir "../bin/$(PVM_ARCH)"
  27.     if not exist "$(PVM_ARCH)/$(NULL)" mkdir "$(PVM_ARCH)"
  28.  
  29. hoster.exe:  $(PVM_ARCH)/hoster.obj $(PVM_ARCH)/pvmwinrexec.obj
  30.     $(link) $(conflags) \
  31.         $(OUTBIN)$(PVM_ROOT)\bin\$(PVM_ARCH)\hoster.exe \
  32.         $(PVM_ARCH)/hoster.obj $(PVM_ARCH)/pvmwinrexec.obj \
  33.         $(PVM_ROOT)\lib\$(PVM_ARCH)\libpvm3.lib \
  34.         $(link_multithread) /nodefaultlib:libc.lib 
  35.  
  36. $(PVM_ARCH)/hoster.obj:  $(PVM_ROOT)\hoster\hoster.c
  37.     $(cc) $(cdebug) $(cflags) $(cvars) \
  38.         $(OUT)$(PVM_ARCH)/hoster.obj $(PVM_ROOT)\hoster\hoster.c
  39.  
  40. $(PVM_ARCH)/pvmwinrexec.obj:  $(PVM_ROOT)\hoster\pvmwinrexec.c
  41.     $(cc) $(cdebug) $(cflags) $(cvars) \
  42.         $(OUT)$(PVM_ARCH)/pvmwinrexec.obj \
  43.         $(PVM_ROOT)\hoster\pvmwinrexec.c
  44.  
  45. # Clean up everything but the .EXEs
  46. clean :
  47.     -del *.obj
  48.     -del *.pdb
  49.  
  50.